package array;

import java.util.Arrays;

/**
 * @author LIBOFEI
 * @ClassName TestNum
 * @description
 * @date 2020/12/17 17:07
 * @Version 1.0
 **/
public class TestNum {

    public static int[] test = {207,208,209,226,227,228,230,232,247,249,85,86,87,88,229,244,245,248,250,251};

    public static void main(String[] args) {

//        int i = 207;
//        System.out.println(isContain(207));

         int[] test = {15,7,12,32,7,16,13,16,5,4,4,13,4,5,5,5,5,8,12,9,5,15,5,3,7,12,46,26,12,19,3,9,3,12,4,7,6,17,17,12,12,3};
         System.out.println(Arrays.stream(test).sum());
    }


    public static boolean isContain(int i){
        for(int j : test){
            if(i == j){
                return true;
            }
        }
        return false;
    }
}
